Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix opening files with symbolic links #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stepheneb
Copy link

This fixes issue 5: #5 -- but in an ugly manner.

I asked for advice a while ago on the textmate list but didn't get any suggestions about how to make it cleaner.

http://lists.macromates.com/textmate/2010-September/031412.html

There are two commits in this pull request. The first makes it easier to debug Ackmate while doing development. The second fixes the problem with symbolic links.

The target "Run Script" now deletes any existing AckMate.tmplugin
in the TextMate PlugIn dir and then if:
debug target:
  creates a symbolic link to the plugin in the debug build
release target:
  copies the plugin to the TextMate PlugIn dir

To use this capability create a new Custom Executable referencing TextMate:

  "Project", "New Custom Executable..."

Then after setting breakpoints: Clean and then 
"Build and Debug - Breakpoints On"

adapted from: http://developer.apple.com/mac/library/qa/qa2006/qa1500.html
See issue: 
  Searching inside symlinked folders opens a new window
  http://github.com/protocool/AckMate/issues/#issue/5

This is a bit of a hack because it doesn't check to 
make sure the mate shell executable is installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant